x86/HPET: cleanup
authorJan Beulich <jbeulich@novell.com>
Sat, 12 Mar 2011 13:19:34 +0000 (13:19 +0000)
committerJan Beulich <jbeulich@novell.com>
Sat, 12 Mar 2011 13:19:34 +0000 (13:19 +0000)
commitb927089900d45335c861e49cfb4e66a8d8c8ccea
tree788aefe3c1cd04e72a7c36a72a26d0d8c11fc909
parent8fb98708308bec25d9e80c7ebe0360cb95fc11f9
x86/HPET: cleanup

- separate init and resume code paths (so that the [larger] init parts
  can go init .init.* sections)
- drop the separate legacy_hpet_event object, as we can easily re-use
  the first slot of hpet_events[] for that purpose (the whole array is
  otherwise unused when the legacy code is being used)
- use section placement attributes where reasonable

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Wei Gang <gang.wei@intel.com>
xen/arch/x86/hpet.c
xen/arch/x86/time.c
xen/include/asm-x86/hpet.h